home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group94a.txt / 000090_icon-group-sender _Wed Apr 20 10:00:14 1994.msg < prev    next >
Internet Message Format  |  1994-08-19  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Wed, 20 Apr 1994 12:45:53 MST
  2. Date: Wed, 20 Apr 1994 10:00:14 -0700
  3. From: Michael Shafto <shafto@eos.arc.nasa.gov>
  4. Message-Id: <199404201700.KAA11036@eos.arc.nasa.gov>
  5. To: SREA@UAEX.ARKNET.EDU, icon-group@cs.arizona.edu
  6. Subject: Re:  Snobol4 or Icon?
  7. Cc: shafto@eos.arc.nasa.gov
  8. Status: R
  9. Errors-To: icon-group-errors@cs.arizona.edu
  10.  
  11. Steve,
  12. I have been a SNOBOL4 hacker for almost 25 years,
  13. having learned it on an IBM 360 at Princeton,
  14. starting in 1970.
  15. I picked up Icon starting in about 1982, before
  16. it was widely available on a lot of platforms.
  17. I've used Icon extensively since about 1984, on
  18. Vax, PC, and Mac platforms.
  19. The following opinions are likely NOT to be
  20. politically correct, but they're based on a lot
  21. of practical programming experience.
  22. 1. Icon would probably be easier to learn from
  23. scratch than would SNOBOL4, but this is irrelevant
  24. if you're already fluent in SNOBOL4.
  25. 1a) However, if others have to read and
  26. understand your code, Icon beats SNOBOL4.
  27. 2. If your applications are heavy on pattern
  28. matching, SNOBOL4 is far better than Icon.
  29. 2a) If your applications are NOT heavily
  30. dependent on sophistiacted pattern matching,
  31. Icon is better.
  32. 3. SNOBOL4's advantages decrease the larger
  33. your programs become. Icon is mcuh better if
  34. you have to develop and maintain large programs,
  35. using libraries.
  36. 4. Icon is better maintained than SNOBOL4, e.g.,
  37. Ralph Griswold and friends are about to deliver
  38. on a major investment in the enhancement of
  39. Icon's graphics programming capabilities.
  40. 5. Both Icon code and SNOBOL4 code are highly
  41. portable across different platforms; this is
  42. a real strength for both of them.
  43. 6. There are two things you can do in SNOBOL4
  44. that you simply cannot do in Icon:
  45. (a) have patterns availble as first-class
  46. data types: create them at run-time, have them
  47. returned as values from subroutines, etc.;
  48. (b) create, compile, and interpret code
  49. at run-time (like LISP).
  50. If these features are important, you should
  51. use SNOBOL4.
  52.  
  53. Happy hacking!!!
  54.  
  55. (Icon and SNOBOL4 are my two favorite languages;
  56. I know lots of others but I don't use them.)
  57.  
  58. Mike
  59.